<?php

use Illuminate\Database\Seeder;

class CommentTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //评论
        DB::table('comment')->insert([
            [
                'comment'  => '你好啊实打实大师大所大所大所大所啊',
                'article_id'  => rand(1, 3)
            ],
            [
                'comment'  => '去凄凄切切群群无无无寻寻寻寻寻寻寻寻寻寻做做做寻寻寻',
                'article_id'  => rand(1, 3)
            ],
            [
                'comment'  => '和积极军军军军军军军',
                'article_id'  => rand(1, 3)
            ],
            [
                'comment'  => '水水水水少时诵诗书所所所所所所所所所所所所',
                'article_id'  => rand(1, 3)
            ],

        ]);
    }
}
